import Vue from 'vue';
import {Dialog, Toast,Button, NavBar, Field, Form, Icon, Tabbar, TabbarItem, Cell, CellGroup, CountDown, Image as VanImage,  Grid, GridItem, Tab, Tabs, List ,PullRefresh, Popup, Search, Picker, DatetimePicker}  from 'vant';

// Vue.use(Toast).use(Button).use(NavBar).use(Form).use(Filed).use(Icon).use(Tabbar).use(TabbarItem).use(CellGroup).use(Cell).use(CountDown).use(VanImage).use(Grid).use(GridItem)

[Dialog, Toast ,Button, NavBar, Form, Field, Icon, Tabbar, TabbarItem, Cell, CellGroup,CountDown, VanImage, Grid, GridItem, Tab, Tabs, List, PullRefresh, Popup, Search, Picker, DatetimePicker].forEach(item => {
  Vue.use(item);
})